import Vue from "vue";

export function Component(Optin: { ComponentName:string}){
  return (target) => {
    Vue.component(Optin.ComponentName, target.bind(target.prototype));
    return target;
  }
}
